package cate.common.table.activity;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.table.d.GDActivity;

@EExcelRowClass
public class OpenDayRoundActBaseRow extends ERow implements IActivityOpen {
    @EExcelNoteField(fieldName = "活动ID")
    public int activityId;
    @EExcelNoteField(fieldName = "功能ID")
    public int funcId;
    @EExcelNoteField(fieldName = "活动配置ID")
    public int configId;
    @EExcelNoteField(fieldName = "开始天数")
    public int startDay;
    @EExcelNoteField(fieldName = "开始时间")
    public String startTimeStr;
    @EExcelNoteField(fieldName = "持续天数")
    public int durationDay;
    @EExcelNoteField(fieldName = "循环天数")
    public int roundDay;
    @EExcelNoteField(fieldName = "循环次数", defaultValue = "0")
    public int roundTime;

    @Override
    public byte getType() {
        return GDActivity.Type.OPEN_DAY;
    }

    @Override
    public int getActivityId() {
        return activityId;
    }

    @Override
    public int getFuncId() {
        return funcId;
    }

    @Override
    public int getConfigId() {
        return configId;
    }
}
